Skip to content

FIX: Add closing quote to match condition#2864

Open
matthewfeickert wants to merge 1 commit into
conda-forge:mainfrom
matthewfeickert:fix/close-match
Open

FIX: Add closing quote to match condition#2864
matthewfeickert wants to merge 1 commit into
conda-forge:mainfrom
matthewfeickert:fix/close-match

Conversation

@matthewfeickert

@matthewfeickert matthewfeickert commented Jun 18, 2026

Copy link
Copy Markdown
Member
  • Add missing " to close the match condition.
  • Add --no-deps --no-build-isolation flags to the v0 example Python build commands to match the current recommendations.
  • As setuptools is not the only build system that exists after PEP 517/518 use the term "build system" and then provide setuptools as an example.

PR Checklist:

  • [N/A] note any issues closed by this PR with closing keywords
  • [N/A] if you are adding a new page under docs/ or community/, you have added it to the sidebar in the corresponding _sidebar.json file
  • put any other relevant information below

This PR addresses multiple things on a single docs page. If it is preferable to split this between multiple PRs I can split out the doc improvements (--no-deps --no-build-isolation and build systems) from the syntax fix.

@matthewfeickert matthewfeickert requested a review from a team as a code owner June 18, 2026 06:49
@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Deploy Preview for conda-forge-previews ready!

Name Link
🔨 Latest commit f909551
🔍 Latest deploy log https://app.netlify.com/projects/conda-forge-previews/deploys/6a3c1d599663520008196edc
😎 Deploy Preview https://deploy-preview-2864--conda-forge-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 78
Accessibility: 96
Best Practices: 100
SEO: 89
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@matthewfeickert matthewfeickert left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread docs/maintainer/adding_pkgs.mdx Outdated
If the build can be executed with one line, you may put this line in the
`script` entry of the `build` section of the recipe file with:
`script: "{{ PYTHON }} -m pip install . -vv"`.
`script: "{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation"`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought this was set automatically? So there is no need to do it manually.

@matthewfeickert matthewfeickert Jun 18, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xhochy I believe this is correct for rattler-build, but I do not know if this is true for conda-build. I had suggested removing these flags before in conda/grayskull#582, but @ocefpaf has requested that they remain in (c.f. conda/grayskull#582 (comment)).

Regardless, the documentation should be consistent across the conda-forge docs. So once choice should be selected and then used everywhere.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fails only on multiple outputs and conda-build as far as I know. That is where my recommendation comes from. If we ditch v0, and rattler-build multiple outputs does suffer from that. I agree, don't include it b/c it is unnecessary. Regarding consistency... I'll abstain from that bike shed ;-p

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fails only on multiple outputs and conda-build as far as I know.
...
I agree, don't include it b/c it is unnecessary.

If there is agreement that for v1 recipes this is redundant and should be avoided, should we keep the --no-deps --no-build-isolation flags in below for the v0 example?

@matthewfeickert matthewfeickert Jun 24, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved further discussion to Issue #2869

* Add missing '"' to close the match condition.
* Add '--no-deps --no-build-isolation' flags to the v0 example Python build
  commands to match the current recommendations.
  - c.f. https://conda-forge.org/docs/maintainer/example_recipes/pure-python/
* As setuptools is not the only build system that exists after PEP 517/518
  use the term "build system" and then provide setuptools as an example.
```recipe
build:
script: "{{ PYTHON }} -m pip install . -vv"
script: "{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this is the v0 recipe instructions, keep the flags given #2864 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants